﻿<%@ Page Title="" Language="C#" MasterPageFile="~/manageback.master" AutoEventWireup="true" CodeFile="Mange_Manger.aspx.cs" Inherits="manage_Mange_Member" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        管理管理员<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
            CellPadding="3" DataKeyNames="AdminID" DataSourceID="LinqDataSource1" 
            ForeColor="Black" GridLines="Vertical" Width="100%">
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <Columns>
                <asp:BoundField DataField="AdminID" HeaderText="管理员ID" InsertVisible="False" 
                    ReadOnly="True" SortExpression="AdminID" />
                <asp:BoundField DataField="AdminName" HeaderText="管理员用户名" 
                    SortExpression="AdminName" />
                <asp:BoundField DataField="Password" HeaderText="密码" 
                    SortExpression="Password" />
                <asp:BoundField DataField="RealName" HeaderText="真实姓名" 
                    SortExpression="RealName" />
                <asp:BoundField DataField="phone" HeaderText="手机号码" />
                <asp:BoundField DataField="LoadDate" HeaderText="录入日期" 
                    SortExpression="LoadDate" />
                <asp:TemplateField HeaderText="选择">
                    <EditItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                    <ItemStyle Width="5%" />
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
            ContextTypeName="DataClassesDataContext" EntityTypeName="" TableName="tb_Admin">
        </asp:LinqDataSource>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="全选" />
        <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="删除" />
    </p>
</asp:Content>

